package com.chf.springboot_test.service.Impl;

import com.chf.springboot_test.beans.Student;
import com.chf.springboot_test.dao.IUserInfoMapper;
import com.chf.springboot_test.service.IUserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserInfoService implements IUserInfoService {
    @Autowired
    private IUserInfoMapper userInfoMapper;
    @Override
    public int AddUserInfo(Student student) {
        int i = userInfoMapper.AddUserInfo(student);
        return i;
    }
}
